package homework.test5;

public class Designer extends Programmer{
    //
    private double prize;
    //

    public Designer() {
    }

    public Designer(int id, String name, int age, double salary, String language, double prize) {
        super(id, name, age, salary, language);
        this.prize = prize;
    }
    //

    public double getPrize() {
        return prize;
    }

    public void setPrize(double prize) {
        this.prize = prize;
    }
    public void getInfo(){}
}
